# -*- coding: UTF-8 -*-
from typing import List, Dict
from pydantic import BaseModel, Field

from common_libs.enum_model import StatusCode


class DispatchTaskResponseModel(BaseModel):
    code: StatusCode = Field(..., description="响应状态码")
    msg: str = Field(..., description="响应状态提示信息")
    data: List[Dict] = Field(description="数据")  # 考虑到以后会不会批量创建调度任务
